package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 厂家服务费付款记录对象 zsyh_factory_payrel
 * 
 * @author yuexl
 * @date 2021-12-24
 */
public class ZsyhFactoryPayrel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 厂家id */
    @Excel(name = "厂家id")
    private String factoryId;

    /** 应付金额 */
    @Excel(name = "应付金额")
    private BigDecimal relMoney;

    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private BigDecimal discountMoney;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private BigDecimal paidMoney;

    /** 剩余应付金额 */
    @Excel(name = "剩余应付金额")
    private BigDecimal remainMoney;

    /** 入账账户 */
    @Excel(name = "入账账户")
    private String relAccount;

    /** 付款方式 */
    @Excel(name = "付款方式")
    private String payMethod;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operateId;

    private String payId;

    private String factoryName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setFactoryId(String factoryId) 
    {
        this.factoryId = factoryId;
    }

    public String getFactoryId() 
    {
        return factoryId;
    }
    public void setRelMoney(BigDecimal relMoney) 
    {
        this.relMoney = relMoney;
    }

    public BigDecimal getRelMoney() 
    {
        return relMoney;
    }
    public void setDiscountMoney(BigDecimal discountMoney) 
    {
        this.discountMoney = discountMoney;
    }

    public BigDecimal getDiscountMoney() 
    {
        return discountMoney;
    }
    public void setPaidMoney(BigDecimal paidMoney) 
    {
        this.paidMoney = paidMoney;
    }

    public BigDecimal getPaidMoney() 
    {
        return paidMoney;
    }
    public void setRemainMoney(BigDecimal remainMoney) 
    {
        this.remainMoney = remainMoney;
    }

    public BigDecimal getRemainMoney() 
    {
        return remainMoney;
    }
    public void setRelAccount(String relAccount) 
    {
        this.relAccount = relAccount;
    }

    public String getRelAccount() 
    {
        return relAccount;
    }
    public void setPayMethod(String payMethod) 
    {
        this.payMethod = payMethod;
    }

    public String getPayMethod() 
    {
        return payMethod;
    }
    public void setOperateId(String operateId) 
    {
        this.operateId = operateId;
    }

    public String getOperateId() 
    {
        return operateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryId", getFactoryId())
            .append("relMoney", getRelMoney())
            .append("discountMoney", getDiscountMoney())
            .append("paidMoney", getPaidMoney())
            .append("remainMoney", getRemainMoney())
            .append("relAccount", getRelAccount())
            .append("payMethod", getPayMethod())
            .append("operateId", getOperateId())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }
}
